home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Cream of the Crop 26
/
Cream of the Crop 26.iso
/
program
/
qlib205.zip
/
QLIB.ZIP
/
H
/
TIME.H
< prev
next >
Wrap
C/C++ Source or Header
|
1997-03-31
|
667b
|
48 lines
#ifndef __TIME_H
#define __TIME_H
#ifndef _SIZE_T
#define _SIZE_T
typedef unsigned size_t;
#endif
#ifndef _TIME_T
#define _TIME_T
typedef long time_t;
#endif
#ifndef _CLOCK_T
#define _CLOCK_T
typedef long clock_t;
#endif
#define CLOCKS_PER_SEC 1000.0
#define CLK_TCK 1000.0
struct tm
{
int tm_sec;
int tm_min;
int tm_hour;
int tm_mday;
int tm_mon;
int tm_year;
int tm_wday;
int tm_yday;
int tm_isdst;
};
#ifdef __cplusplus
extern "C" {
#endif
extern time_t _time(time_t *__timer);
extern clock_t clock(void);
#ifdef __cplusplus
}
#endif
#endif /* __TIME_H */